﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="UseGiftCard.aspx.cs" Inherits="University.Workshop.WebApp.UseGiftCard" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Label ID="ForSomElseLabel" runat="server" Visible="False"></asp:Label>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="QuantityLabel" runat="server" Visible="False"></asp:Label>
&nbsp;&nbsp;&nbsp;
    <asp:Label ID="CurrencyLabel" runat="server" Visible="False"></asp:Label>
&nbsp;<div>
        <center>
            <asp:Label ID="WelcomeLabel" runat="server" Font-Size="Large" 
                ForeColor="#000099"></asp:Label>
            <br />
            <br />
            <asp:Label ID="QuantityL" runat="server"></asp:Label>
&nbsp;
            <asp:Label ID="CurrencyL" runat="server"></asp:Label>
            <br />
            <br />
            <asp:Button ID="OkButton" runat="server" onclick="OkButton_Click" Text="OK" 
                Visible="False" />
        &nbsp;&nbsp;&nbsp;
            </center>
    </div>
    <asp:Panel ID="panel1" runat="server" DefaultButton="FindButton">
        <center>
            <asp:TextBox ID="TextBox1" runat="server" Visible="False" BorderColor="#000066"></asp:TextBox>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="FindButton" runat="server" Text="Search" Visible="False" 
                BackColor="#400040" ForeColor="White" onclick="FindButton_Click" 
                Font-Bold="True" Font-Size="Small" />
            <br />
            <br />
            <asp:GridView ID="GridView1" runat="server" Visible="False" 
                AutoGenerateColumns="false" AutoGenerateSelectButton="true" 
                onselectedindexchanged="GridView1_SelectedIndexChanged" 
                BackColor="#FFFFE6" CellPadding="8" CellSpacing="4" ForeColor="Black" >
                <Columns>
                    <asp:boundfield datafield="Id" headertext=""/>
                    <asp:boundfield datafield="FirstName" headertext="FirstName"/>
                    <asp:boundfield datafield="LastName" headertext="LastName" />
                </Columns>
                <HeaderStyle BackColor="#400040" BorderColor="White" Font-Bold="True" 
                    Font-Size="Medium" ForeColor="White" />
            </asp:GridView>

            <br />
        </center>
    </asp:Panel>
</asp:Content>
